package com.dhcy.mqtt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcy.mqtt.bean.MenuManageListResult;
import com.dhcy.mqtt.bean.TreeResource;
import com.dhcy.mqtt.model.SysResource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysResourceMapper extends BaseMapper<SysResource> {
    List<SysResource> getResourceListByusername(String username);

    List<TreeResource> getTreeResourceListById(String id);
    List<MenuManageListResult> getMenuManageList(IPage page);



}
